package com.eastfair.venueservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.HomeBuilderDrawingCategoryAuditHistoryDTO;
import com.eastfair.venueservice.entity.HomeBuilderDrawingCategoryAuditHistory;
import com.eastfair.venueservice.vo.HomeBuilderDrawingCategoryAuditHistoryVO;

/**
 * <p>
 * 业务接口
 * 主场搭建商图纸分类审核历史
 * </p>
 *
 * @author dqq
 * @date 2023-05-04
 */
public interface HomeBuilderDrawingCategoryAuditHistoryService extends SuperService<HomeBuilderDrawingCategoryAuditHistory> {

    /**
     * 分页查询审核历史.
     *
     * @param pageParams the page params
     * @return the page
     */
    Page<HomeBuilderDrawingCategoryAuditHistoryVO> listHistoryVO(PageParams<HomeBuilderDrawingCategoryAuditHistoryDTO> pageParams);

    /**
     * 保存审核历史.
     *
     * @param historyDTO the history dto
     * @return the boolean
     */
    boolean saveHistory(HomeBuilderDrawingCategoryAuditHistoryDTO historyDTO);

    /**
     * 异步保存审核历史.
     *
     * @param historyDTO the history dto
     * @return the boolean
     */
    void asyncSaveHistory(HomeBuilderDrawingCategoryAuditHistoryDTO historyDTO);
}
